package com.zxjbyte.yiyi.module.system.service.auth;

import com.zxjbyte.yiyi.module.system.domain.response.auth.CaptchaResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

/**
 * @Author zhangxingjia
 * @Date 2024/8/13 17:05
 * @Version: 1.0
 */
public interface ICaptchaService {

    CaptchaResponse generateCaptcha(HttpSession session);

    boolean verify(HttpServletRequest request, String uuid, String code);
}
